/*******************************************
 *                                         *
 *******************************************/

#ifndef INGAME_H
#define INGAME_H

#include "..\DirectXFramework.h"
#include "Tiles.h"
#include "GameStates.h"

#define BOARD_WIDTH 25
#define BOARD_HEIGHT 25

using namespace DirectXFramework::Graphics;
using namespace DirectXFramework::Input;

class GameBoard
{
	public:
		GameBoard (void);
		GameBoard (LPDIRECT3DDEVICE9 DrawDevice, float ScreenWidth, float ScreenHeight);
		~GameBoard (void);

		BOOL Init (LPDIRECT3DDEVICE9 DrawDevice, float ScreenWidth, float ScreenHeight);
		BOOL Logic (GameKeyboard & Keyboard, GameState & State);
		void Render (void);

	private:
		LPSPRITE Background;
		Tiles* GameTiles;
		char Board[BOARD_HEIGHT][BOARD_WIDTH];
};

#endif;